home *** CD-ROM | disk | FTP | other *** search
/ The Best of MacTutor - S…e Code for Volumes 1 to 5 / The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin / Source Code / #48 (Sep 89) / Zoundz Source / Zoundz.R < prev    next >
Text File  |  1989-04-28  |  9KB  |  351 lines

  1. *********************************************************
  2. *
  3. * RMaker resource file sources.
  4. * File: Zoundz.R
  5. * History: 4/17/89 Original by Prototyper.   
  6. * This file contains the sources for all the resources except for Pictures. 
  7. *
  8. *********************************************************
  9. *
  10. *
  11.  
  12. Zoundz.RSRC
  13. ????????
  14.  
  15. include CursIcons
  16.  
  17. include AppStuff
  18.  
  19. ***********************************************************
  20. ***********************************************************
  21. ***********************************************************
  22. *
  23. * This is the definition for the DIALOG,  save changes
  24. *
  25. Type DLOG
  26. *
  27.  
  28.                     ,3                  ;;Resource ID
  29. save changes                            ;;Dialog title
  30. 50  120  188  365                       ;;Top Left Bottom Right
  31. Visible NoGoAway                        ;;Visible GoAway 
  32. 1                                       ;;ProcID, dialog def ID
  33. 3                                       ;;Refcon, reference value
  34. 3                                       ;;ID of item list
  35.  
  36. *
  37. *
  38. *
  39. * This is the item list.
  40. *
  41. Type DITL
  42. *
  43.  
  44.                     ,3                  ;;Resource ID
  45. 4                                       ;;Number of controls in list
  46.  
  47. Button  Enabled                         ;;Push button
  48. 70  30  90  100                         ;;Top Left Bottom Right
  49. Yes                                     ;;message
  50.  
  51. Button  Enabled                         ;;Push button
  52. 100  150  120  220                      ;;Top Left Bottom Right
  53. Cancel                                  ;;message
  54.  
  55. Button  Enabled                         ;;Push button
  56. 100  30  120  100                       ;;Top Left Bottom Right
  57. No                                      ;;message
  58.  
  59. StaticText                              ;;Static text
  60. 10  30  55  220                         ;;Top Left Bottom Right
  61. Save changes to ^0?                     ;;message
  62.  
  63.  
  64.  
  65. *
  66. ***********************************************************
  67. ***********************************************************
  68. ***********************************************************
  69. *
  70. * This is the definition for the WINDOW.
  71. *
  72. Type WIND
  73. *
  74.  
  75.                     ,1                  ;;Resource ID
  76. Untitled                                ;;Window title
  77. 42  5  337  506                         ;;Top Left Bottom Right
  78. InVisible  GoAway                       ;;Visible GoAway 
  79. 4                                       ;;ProcID, Window def ID
  80. 1                                       ;;Refcon, reference value
  81.  
  82. *
  83. *
  84. *
  85. * This is the CONTROL item list.
  86. *
  87. Type CNTL
  88. *
  89.  
  90.    ,26                                  ;;Resource ID
  91. Play Sound                              ;;Title for a Button
  92. 120  245  160  490                      ;;Top Left Bottom Right
  93. Visible                                 ;;Initially visible 
  94. 0                                       ;;ProcID (Control definition ID)
  95. 26                                      ;;RefCon (reference value)
  96. 0 1 0                                   ;;Min Max Value
  97.  
  98.    ,16                                  ;;Resource ID
  99. Timbre                                  ;;Title for a Checkbox
  100. 255  395  270  485                      ;;Top Left Bottom Right
  101. Visible                                 ;;Initially visible 
  102. 1                                       ;;ProcID (Control definition ID)
  103. 16                                      ;;RefCon (reference value)
  104. 0 1 1                                   ;;Min Max Value
  105.  
  106.    ,15                                  ;;Resource ID
  107. Duration                                ;;Title for a Checkbox
  108. 235  395  250  485                      ;;Top Left Bottom Right
  109. Visible                                 ;;Initially visible 
  110. 1                                       ;;ProcID (Control definition ID)
  111. 15                                      ;;RefCon (reference value)
  112. 0 1 1                                   ;;Min Max Value
  113.  
  114.    ,14                                  ;;Resource ID
  115. Amplitude                               ;;Title for a Checkbox
  116. 215  395  230  485                      ;;Top Left Bottom Right
  117. Visible                                 ;;Initially visible 
  118. 1                                       ;;ProcID (Control definition ID)
  119. 14                                      ;;RefCon (reference value)
  120. 0 1 1                                   ;;Min Max Value
  121.  
  122.    ,13                                  ;;Resource ID
  123. Frequency                               ;;Title for a Checkbox
  124. 195  395  210  485                      ;;Top Left Bottom Right
  125. Visible                                 ;;Initially visible 
  126. 1                                       ;;ProcID (Control definition ID)
  127. 13                                      ;;RefCon (reference value)
  128. 0 1 1                                   ;;Min Max Value
  129.  
  130.    ,20                                  ;;Resource ID
  131. Timbre                                  ;;Title for a RadioButton
  132. 85  260  100  350                       ;;Top Left Bottom Right
  133. Visible                                 ;;Initially visible 
  134. 2                                       ;;ProcID (Control definition ID)
  135. 20                                      ;;RefCon (reference value)
  136. 0 1 0                                   ;;Min Max Value
  137.  
  138.    ,19                                  ;;Resource ID
  139. Duration                                ;;Title for a RadioButton
  140. 65  260  80  350                        ;;Top Left Bottom Right
  141. Visible                                 ;;Initially visible 
  142. 2                                       ;;ProcID (Control definition ID)
  143. 19                                      ;;RefCon (reference value)
  144. 0 1 0                                   ;;Min Max Value
  145.  
  146.    ,18                                  ;;Resource ID
  147. Amplitude                               ;;Title for a RadioButton
  148. 45  260  60  350                        ;;Top Left Bottom Right
  149. Visible                                 ;;Initially visible 
  150. 2                                       ;;ProcID (Control definition ID)
  151. 18                                      ;;RefCon (reference value)
  152. 0 1 0                                   ;;Min Max Value
  153.  
  154.    ,17                                  ;;Resource ID
  155. Frequency                               ;;Title for a RadioButton
  156. 25  260  40  350                        ;;Top Left Bottom Right
  157. Visible                                 ;;Initially visible 
  158. 2                                       ;;ProcID (Control definition ID)
  159. 17                                      ;;RefCon (reference value)
  160. 0 1 1                                   ;;Min Max Value
  161.  
  162.    ,41                                  ;;Resource ID
  163. DurationScrollbar                       ;;Title for a Scrollbar
  164. 65  360  81  460                        ;;Top Left Bottom Right
  165. Visible                                 ;;Initially visible 
  166. 16                                      ;;ProcID (Control definition ID)
  167. 41                                      ;;RefCon (reference value)
  168. 0  250  0                               ;;Min Max Value
  169.  
  170.    ,40                                  ;;Resource ID
  171. AmplitudeScrollbar                      ;;Title for a Scrollbar
  172. 45  360  61  460                        ;;Top Left Bottom Right
  173. Visible                                 ;;Initially visible 
  174. 16                                      ;;ProcID (Control definition ID)
  175. 40                                      ;;RefCon (reference value)
  176. 0  255  0                               ;;Min Max Value
  177.  
  178.    ,39                                  ;;Resource ID
  179. FrequencyScrollbar                      ;;Title for a Scrollbar
  180. 25  360  41  460                        ;;Top Left Bottom Right
  181. Visible                                 ;;Initially visible 
  182. 16                                      ;;ProcID (Control definition ID)
  183. 39                                      ;;RefCon (reference value)
  184. 0  128  0                               ;;Min Max Value
  185.  
  186.    ,38                                  ;;Resource ID
  187. TimbreScrollbar                         ;;Title for a Scrollbar
  188. 85  360  101  460                       ;;Top Left Bottom Right
  189. Visible                                 ;;Initially visible 
  190. 16                                      ;;ProcID (Control definition ID)
  191. 38                                      ;;RefCon (reference value)
  192. 0  254  0                               ;;Min Max Value
  193.  
  194.    ,31                                  ;;Resource ID
  195. EndScrollbar                            ;;Title for a Scrollbar
  196. 255  250  271  370                      ;;Top Left Bottom Right
  197. Visible                                 ;;Initially visible 
  198. 16                                      ;;ProcID (Control definition ID)
  199. 31                                      ;;RefCon (reference value)
  200. 1  100  1                               ;;Min Max Value
  201.  
  202.    ,27                                  ;;Resource ID
  203. StartScrollbar                          ;;Title for a Scrollbar
  204. 215  250  231  370                      ;;Top Left Bottom Right
  205. Visible                                 ;;Initially visible 
  206. 16                                      ;;ProcID (Control definition ID)
  207. 27                                      ;;RefCon (reference value)
  208. 1  100  1                               ;;Min Max Value
  209.  
  210.    ,12                                  ;;Resource ID
  211. NoteScrollbar                           ;;Title for a Scrollbar
  212. 266  5  282  231                        ;;Top Left Bottom Right
  213. Visible                                 ;;Initially visible 
  214. 16                                      ;;ProcID (Control definition ID)
  215. 12                                      ;;RefCon (reference value)
  216. 1  100  1                               ;;Min Max Value
  217.  
  218.  
  219.  
  220.  
  221.  
  222. *
  223. ***********************************************************
  224. ***********************************************************
  225. ***********************************************************
  226. *
  227. * This is the definition for the ALERT,  Message
  228. *
  229. Type ALRT
  230. *
  231.  
  232.                     ,4                  ;;Resource ID
  233. 75  124  210  385                       ;;Top Left Bottom Right
  234. 4                                       ;;ID of item list
  235. CCCC                                    ;;stages of alert in hexadecimal
  236.  
  237. *
  238. *
  239. *
  240. * This is the item list.
  241. *
  242. Type DITL
  243. *
  244.  
  245.                     ,4                  ;;Resource ID
  246. 2                                       ;;Number of controls in list
  247.  
  248. StaticText                              ;;Static text
  249. 10  55  80  245                         ;;Top Left Bottom Right
  250. ^0\0D^1\0D^2\0D^3                       ;;message
  251.  
  252.  
  253. Button  Enabled                         ;;Push button
  254. 90  140  110  200                       ;;Top Left Bottom Right
  255. OK                                      ;;message
  256.  
  257. *
  258. ***********************************************************
  259. ***********************************************************
  260. ***********************************************************
  261. *
  262. * This is the definition for the DIALOG,  About
  263. *
  264. Type DLOG
  265. *
  266.  
  267.                     ,2                  ;;Resource ID
  268. About                                   ;;Dialog title
  269. 112  136  210  373                      ;;Top Left Bottom Right
  270. Visible NoGoAway                        ;;Visible GoAway 
  271. 1                                       ;;ProcID, dialog def ID
  272. 2                                       ;;Refcon, reference value
  273. 2                                       ;;ID of item list
  274.  
  275. *
  276. *
  277. *
  278. * This is the item list.
  279. *
  280. Type DITL
  281. *
  282.  
  283.                     ,2                  ;;Resource ID
  284. 3                                       ;;Number of controls in list
  285.  
  286. Button  Enabled                         ;;Push button
  287. 60  75  87  155                         ;;Top Left Bottom Right
  288. OK                                      ;;message
  289.  
  290. StaticText                              ;;Static text
  291. 10  35  25  205                         ;;Top Left Bottom Right
  292. Zoundz 1.0 By Kirk Chase                ;;message
  293.  
  294. StaticText                              ;;Static text
  295. 35  10  50  225                         ;;Top Left Bottom Right
  296. © 1989 Kirk Chase and MacTutor          ;;message
  297.  
  298.  
  299.  
  300. *
  301. ***********************************************************
  302. ***********************************************************
  303. ***********************************************************
  304. *
  305. * This is the definition for the MENU.
  306. *
  307. Type MENU
  308. *
  309.  
  310. *************** Standard Menus follow *********************
  311. *
  312.  
  313.  
  314.     ,1001                               ;;Resource ID
  315. \14                                     ;;APPLE menu title
  316. About Zoundz...                         ;;item title
  317. (-                                      ;;
  318.  
  319.     ,1002                               ;;Resource ID
  320. File                                    ;;menu title
  321. (New/N                                  ;;item title
  322. (Open.../O                              ;;item title
  323. (-                                      ;;
  324. Close                                   ;;item title
  325. Save/S                                  ;;item title
  326. Save As...                              ;;item title
  327. (-                                      ;;
  328. Page Setup...                           ;;item title
  329. Print...                                ;;item title
  330. (-                                      ;;
  331. Quit/Q                                  ;;item title
  332.  
  333.     ,1003                               ;;Resource ID
  334. Edit                                    ;;menu title
  335. Undo/Z                                 ;;item title
  336. (-                                      ;;
  337. Cut/X                                  ;;item title
  338. Copy/C                                 ;;item title
  339. Paste/V                                ;;item title
  340.  
  341.     ,1004
  342. Extend
  343. Frequency
  344. Amplitude
  345. Duration
  346. Timbre
  347.  
  348.  
  349.  
  350.  
  351.